// components/my-event/my-event.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },
  /**
   * 组件的方法列表
   */
  methods: {
    handleIncrement() {
      
      this.triggerEvent('increment', {name: 'Damon', age: 18}, {})
    },
    handleSubstract() {
      this.triggerEvent('substract', {name: 'cc'}, {})
    },
  }
})
